package cn.yunyichina.provider.iface.entity.base;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Lullaby on 2017/7/13.
 */
@Getter
@Setter
public class BasePacityResponse implements Serializable {

    private String error;

    private String errorDescription;

    public boolean isSuccess() {
        return error == null || "".equals(error);
    }

}
